package cn.ruleengine.web.function;

import cn.ruleengine.core.annotation.Executor;
import cn.ruleengine.core.annotation.Function;
import cn.ruleengine.core.annotation.Param;

@Function
public class MathAbsFunction {
    @Executor
    public Integer executor(@Param("value") Integer value) {
        return Math.abs(value);
    }
}
